user
Customer record
GraphQL Schema
extend type query {
"""Customer record"""
user(
"""The id of the user"""
userId: ID!
): User
}
Arguments
| Name | Type | Description |
|---|---|---|
| userId | ID! | The id of the user |
Response Shape
This query returns User
| Name | Type | Description |
|---|---|---|
| id | ID! | External auth ID |
| name | String | Customer's name |
| String | Customer's email | |
| referralSource | String | The source of the customer's referral - for analytics and customisation of the ongoing journey |
| userType | String | The type of user - for analytics and customisation of the ongoing journey |